package com.wbt.event;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author daojin
 * @date 2022/4/1 10:59 上午
 */
@Data
@AllArgsConstructor
public class SmsTaskFinishListener implements TaskFinishEventListner {

    private String address;

    @Override
    public void onTaskFinish(TaskFinishEvent event) {
        System.out.println("Send Message to "+address+" Task:"+event.getSource());
    }
}
